<?php
use app\assets\LayuiAsset;
use app\Tools\UrlTool;

LayuiAsset::register($this);
?>
<?php $this->beginPage() ?>
    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <title>Login - RBAC管理后台</title>
        <?php $this->head() ?>
    </head>
    <body class="layui-layout-body">
    <?php $this->beginBody() ?>
    <div class="layui-layout layui-layout-admin">
        <div style="margin: 180px">
            <form class="layui-form" action="<?=UrlTool::createUrl('/admin/user/vlogin')?>" style="" method="get">

                <div class="layui-form-item" style="margin: 0 auto;text-align: center">
                    <div class="layui-inline">
                        <label class="layui-form-label">用户ID</label>
                        <div class="layui-input-inline">
                            <input type="tel" name="uid" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>

                <!--
                <div class="layui-form-item" style="margin: 0 auto;text-align: center">
                    <div class="layui-inline">
                        <label class="layui-form-label">多规则验证</label>
                        <div class="layui-input-inline">
                            <input type="text" name="number" lay-verify="required|number" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                </div>
                -->

                <div class="layui-form-item" style="margin: 0 0 0 377px;">
                    <div class="layui-input-block">
                        <button type="submit" class="layui-btn layui-btn-sm" lay-submit="" lay-filter="demo1">立即登录</button>
<!--                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
                    </div>
                </div>
            </form>
        </div>
    </div>
    <?php $this->endBody() ?>
    </body>
    </html>
<?php $this->endPage() ?>